package com.haoge7777.weblog.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.haoge7777.weblog.*"}) //注意在自定义切面日志后一定要添加springboot启动类扫描对象，否则无法检测到编写的自定义切面日志
public class WeblogWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeblogWebApplication.class, args);
    }

}
